package com.lyl.serviceorder.cloudclient;

import com.lyl.vo.order.CourseWebVoOrder;
import com.lyl.vo.order.ResumeModelVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient(value = "service-resume",fallback = ResumeDegradeFeignClient.class)
public interface ResumeClient {
    //根据课程id查询课程信息
    @GetMapping("/serviceresume/api/model/getDto/{resumeModelId}")
    ResumeModelVoOrder getResumeModelDto(@PathVariable("resumeModelId")Long resumeModelId);
}